/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.cvut.fel.omo.blog;

import java.util.ArrayList;

/**
 *
 * @author jarda
 */
public class Topic {
    public String name;
    public String description;
    private ArrayList<Post> fallUnder=new ArrayList<>();
    public Topic(String name,String description){
        this.name=name;
        this.description=description;
        
    }
    public void addToTopic(Post a){
        fallUnder.add(a);
        
        
    }
}
